/* pages/knowledge/knowledge.less */
@primary-color: #3498db;
@secondary-color: #2c3e50;
@highlight-color: #e74c3c;
@success-color: #27ae60;
@warning-color: #f39c12;
@light-bg: #f8f9fa;
@border-color: #e0e0e0;

page {
  background-color: #f5f7fa;
  font-family: -apple-system, BlinkMacSystemFont, 'Helvetica Neue', sans-serif;
  font-size: 28rpx;
  color: #333;
  line-height: 1.6;
}

.container {
  padding: 20rpx;
  max-width: 750rpx;
  margin: 0 auto;
  box-sizing: border-box;
}

/* 头部样式 */
// .header {
//   display: flex;
//   align-items: center;
//   padding: 30rpx 0;
//   margin-bottom: 30rpx;
//   border-bottom: 1rpx solid @border-color;
  
//   .header-icon {
//     width: 80rpx;
//     height: 80rpx;
//     background: @primary-color;
//     color: white;
//     border-radius: 50%;
//     display: flex;
//     justify-content: center;
//     align-items: center;
//     font-size: 40rpx;
//     margin-right: 25rpx;
//     flex-shrink: 0;
//   }
  
//   .header-text {
//     flex: 1;
    
//     .title {
//       font-size: 38rpx;
//       font-weight: bold;
//       color: @secondary-color;
//       display: block;
//       margin-bottom: 8rpx;
//     }
    
//     .subtitle {
//       font-size: 28rpx;
//       color: #666;
//     }
//   }
// }

/* 备考建议 */
.suggestion {
  background: white;
  border-radius: 16rpx;
  padding: 30rpx;
  margin-bottom: 30rpx;
  box-shadow: 0 4rpx 12rpx rgba(0, 0, 0, 0.08);
  
  .suggestion-title {
    font-size: 30rpx;
    font-weight: bold;
    color: @secondary-color;
    margin-bottom: 25rpx;
    padding-bottom: 20rpx;
    border-bottom: 1rpx dashed @border-color;
  }
  
  .suggestion-point {
    display: flex;
    align-items: flex-start;
    padding: 22rpx 0;
    
    .suggestion-icon {
      font-size: 36rpx;
      margin-right: 20rpx;
      margin-top: 5rpx;
      flex-shrink: 0;
    }
    
    .suggestion-text {
      font-size: 28rpx;
      color: #333;
      flex: 1;
    }
  }
}

.tip-card {
  background: #e8f4ff;
  border-radius: 16rpx;
  padding: 30rpx;
  
  .tip-title {
    font-size: 30rpx;
    font-weight: bold;
    color: @primary-color;
    display: block;
    margin-bottom: 20rpx;
  }
  
  .tip-content {
    font-size: 26rpx;
    color: #333;
    line-height: 1.7;
    display: block;
    margin-bottom: 20rpx;
  }
  
  .tip-footer {
    font-size: 24rpx;
    color: #666;
    display: block;
    font-style: italic;
    border-top: 1rpx dashed #a0c4ff;
    padding-top: 20rpx;
  }
}

/* 底部样式 */
.footer {
  margin-top: 50rpx;
  text-align: center;
  font-size: 26rpx;
  color: #999;
  display: flex;
  flex-direction: column;
  padding-top: 30rpx;
  border-top: 1rpx solid @border-color;
  
  text {
    margin-bottom: 10rpx;
    
    &:last-child {
      margin-bottom: 0;
    }
  }
}
.action-btn {
  background: linear-gradient(135deg, @primary-color, darken(@primary-color, 15%));
  color: white;
  border-radius: 50rpx;
  font-size: 32rpx;
  font-weight: bold;
  height: 90rpx;
  line-height: 90rpx;
  margin: 40rpx 0;
  width: 100%;
  box-shadow: 0 8rpx 20rpx rgba(52, 152, 219, 0.3);
}